module HousingApplicationHelper
  def form_box(question)
    if question.answer_type == 'small'
      text_field 'application', "#{question.id}"
    elsif question.answer_type == 'large'
      text_area 'application', "#{question.id}", :rows => "5"
    end
  end
end
